<template>
  <div class="news">
    <n-header :headerTitles="headerTitles"></n-header>
    <n-swiper></n-swiper>
    <tabbar></tabbar>
  </div>
</template>

<script>
import NHeader from "@/components/header/header";
import NSwiper from "./components/n-swiper";
import Tabbar from "@/components/tabbar/tabbar.vue";

export default {
  name: "news",
  components: {
    NHeader,
    NSwiper,
    Tabbar,
  },
  created() {},
  data() {
    return {
      headerTitles: [
        { index: 0, title: "推荐" },
        { index: 1, title: "论坛" },
      ],
    };
  },
};
</script>
<style lang="scss">
</style>
